package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.SelfMatchingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.SelfMatchingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.SelfMatchSingleFact;

public class SelfMatchingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<SelfMatchingEvent, SelfMatchSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<SelfMatchingEvent, SelfMatchSingleFact> 
	            getCreator( List<SelfMatchSingleFact> dataItems) {
		return new SelfMatchingMessageCreator(dataItems);
	}

}